﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Class7
{
    public class Home
    {
        private static int TotalMoney = 0;
        public static void SetTotalMoney(int money)
        {
            TotalMoney = money;
        }
        public static void PayMoney(int money) { 
            TotalMoney -= money;
        }
        public static void ShowTotalMoney() { 
            Console.WriteLine("Home total money :"+TotalMoney+" yuan");
        }
    }
}
